#!/bin/bash

if [ ! -e ./build ]
then
    mkdir build
fi

#jars=$(find . -iname '*.jar' -exec printf "{}:" \;)
#jars=${jars:0:$(echo "${#jars} - 1"|bc -q)}
find ./ -iname '*.java' -print > classes

rm -rf build/*
javac -d ./build -cp ./ @classes
